import Types from '../actionTypes';
import {getWorkstation} from '../../api';

const getWorkstationInfo = () => {
  return new Promise((resolve, reject) => {
    getWorkstation().then(res => {
      console.log(res);
      resolve({
        type: Types.GET_WORKSTATION,
        data: res.data,
      });
    });
  });
};
export default {
  getWorkstationInfo,
};
